﻿using System;
using System.Collections.Generic;

using System.Text;

using DDay.iCal;
using DDay.iCal.Components;
using DDay.iCal.DataTypes;
using DataTransferObject;

namespace IView
{
    /*
     * Inteface để MainForm implements
     * Cung cấp các interface để bên ngoài truy xuất vào MainForm
     */
    /// <summary>
    /// 
    /// </summary>
    public interface IMainForm
    {
        //cho phép bên ngoài gọi chức năng này để MainForm hiện lên 1 messagebox
        /// <summary>
        /// Shows the message box.
        /// </summary>
        /// <param name="message">The message.</param>
        void ShowMessageBox(String message);

        /// <summary>
        /// Gets the path to save config.
        /// </summary>
        /// <returns></returns>
        String GetPathToSaveConfig();

        /// <summary>
        /// Gets the path to save task list.
        /// </summary>
        /// <returns></returns>
        String GetPathToSaveTaskList();

        void WriteEventToOutlook(List<Event> events);

        List<Event> GetListEvents();

        void SetOutlookAppointmentCalendar(string path);
    }
}
